<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cpu: Cpu_v2_3</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">cpu
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__cpu__v2__3.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Cpu_v2_3</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga77214ca9e86c3739ea38691f13e910e1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpu__v2__3.html#ga77214ca9e86c3739ea38691f13e910e1">XIo_In8</a>(InputPtr)&#160;&#160;&#160;(*(volatile u8  *)(InputPtr))</td></tr>
<tr class="memdesc:ga77214ca9e86c3739ea38691f13e910e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs an input operation for an 8-bit memory location by reading from the specified address and returning the value read from that address.  <a href="#ga77214ca9e86c3739ea38691f13e910e1">More...</a><br /></td></tr>
<tr class="separator:ga77214ca9e86c3739ea38691f13e910e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga79f29757b31950b0f8c8cb9dd7be1955"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpu__v2__3.html#ga79f29757b31950b0f8c8cb9dd7be1955">XIo_In16</a>(InputPtr)&#160;&#160;&#160;(*(volatile u16 *)(InputPtr))</td></tr>
<tr class="memdesc:ga79f29757b31950b0f8c8cb9dd7be1955"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs an input operation for a 16-bit memory location by reading from the specified address and returning the value read from that address.  <a href="#ga79f29757b31950b0f8c8cb9dd7be1955">More...</a><br /></td></tr>
<tr class="separator:ga79f29757b31950b0f8c8cb9dd7be1955"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga46edb278c632d89f08d686a80f8b058b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpu__v2__3.html#ga46edb278c632d89f08d686a80f8b058b">XIo_In32</a>(InputPtr)&#160;&#160;&#160;(*(volatile u32 *)(InputPtr))</td></tr>
<tr class="memdesc:ga46edb278c632d89f08d686a80f8b058b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs an input operation for a 32-bit memory location by reading from the specified address and returning the value read from that address.  <a href="#ga46edb278c632d89f08d686a80f8b058b">More...</a><br /></td></tr>
<tr class="separator:ga46edb278c632d89f08d686a80f8b058b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1b478c4241641392001630b7a9dfe00e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpu__v2__3.html#ga1b478c4241641392001630b7a9dfe00e">XIo_Out8</a>(OutputPtr,  Value)&#160;&#160;&#160;(*(volatile u8  *)((OutputPtr)) = (Value))</td></tr>
<tr class="memdesc:ga1b478c4241641392001630b7a9dfe00e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs an output operation for an 8-bit memory location by writing the specified value to the the specified address.  <a href="#ga1b478c4241641392001630b7a9dfe00e">More...</a><br /></td></tr>
<tr class="separator:ga1b478c4241641392001630b7a9dfe00e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1547f1c4d29441aefad29fc0c34ae696"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpu__v2__3.html#ga1547f1c4d29441aefad29fc0c34ae696">XIo_Out16</a>(OutputPtr,  Value)&#160;&#160;&#160;(*(volatile u16 *)((OutputPtr)) = (Value))</td></tr>
<tr class="memdesc:ga1547f1c4d29441aefad29fc0c34ae696"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs an output operation for a 16-bit memory location by writing the specified value to the the specified address.  <a href="#ga1547f1c4d29441aefad29fc0c34ae696">More...</a><br /></td></tr>
<tr class="separator:ga1547f1c4d29441aefad29fc0c34ae696"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaeb79cdbd71863b04f9241d23ab0fe2b5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpu__v2__3.html#gaeb79cdbd71863b04f9241d23ab0fe2b5">XIo_Out32</a>(OutputPtr,  Value)&#160;&#160;&#160;(*(volatile u32 *)((OutputPtr)) = (Value))</td></tr>
<tr class="memdesc:gaeb79cdbd71863b04f9241d23ab0fe2b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs an output operation for a 32-bit memory location by writing the specified value to the the specified address.  <a href="#gaeb79cdbd71863b04f9241d23ab0fe2b5">More...</a><br /></td></tr>
<tr class="separator:gaeb79cdbd71863b04f9241d23ab0fe2b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga8c62ddb24cbd945c441e391677e5d248"><td class="memItemLeft" align="right" valign="top">typedef u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpu__v2__3.html#ga8c62ddb24cbd945c441e391677e5d248">XIo_Address</a></td></tr>
<tr class="memdesc:ga8c62ddb24cbd945c441e391677e5d248"><td class="mdescLeft">&#160;</td><td class="mdescRight">Typedef for an I/O address.  <a href="#ga8c62ddb24cbd945c441e391677e5d248">More...</a><br /></td></tr>
<tr class="separator:ga8c62ddb24cbd945c441e391677e5d248"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga7c276f7853a003d8049c6adad4773ae2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpu__v2__3.html#ga7c276f7853a003d8049c6adad4773ae2">XIo_EndianSwap16</a> (u16 Source, u16 *DestPtr)</td></tr>
<tr class="memdesc:ga7c276f7853a003d8049c6adad4773ae2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs a 16-bit endian converion.  <a href="#ga7c276f7853a003d8049c6adad4773ae2">More...</a><br /></td></tr>
<tr class="separator:ga7c276f7853a003d8049c6adad4773ae2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga83035e903e2b52fcbcb94cf918db8934"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpu__v2__3.html#ga83035e903e2b52fcbcb94cf918db8934">XIo_EndianSwap32</a> (u32 Source, u32 *DestPtr)</td></tr>
<tr class="memdesc:ga83035e903e2b52fcbcb94cf918db8934"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs a 32-bit endian converion.  <a href="#ga83035e903e2b52fcbcb94cf918db8934">More...</a><br /></td></tr>
<tr class="separator:ga83035e903e2b52fcbcb94cf918db8934"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga42b463b78a9248d71f676c364ce2ec22"><td class="memItemLeft" align="right" valign="top">u16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpu__v2__3.html#ga42b463b78a9248d71f676c364ce2ec22">XIo_InSwap16</a> (<a class="el" href="group__cpu__v2__3.html#ga8c62ddb24cbd945c441e391677e5d248">XIo_Address</a> InAddress)</td></tr>
<tr class="memdesc:ga42b463b78a9248d71f676c364ce2ec22"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs an input operation for a 16-bit memory location by reading from the specified address and returning the byte-swapped value read from that address.  <a href="#ga42b463b78a9248d71f676c364ce2ec22">More...</a><br /></td></tr>
<tr class="separator:ga42b463b78a9248d71f676c364ce2ec22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab8c65f4b4f443280f23162edd174990c"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpu__v2__3.html#gab8c65f4b4f443280f23162edd174990c">XIo_InSwap32</a> (<a class="el" href="group__cpu__v2__3.html#ga8c62ddb24cbd945c441e391677e5d248">XIo_Address</a> InAddress)</td></tr>
<tr class="memdesc:gab8c65f4b4f443280f23162edd174990c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs an input operation for a 32-bit memory location by reading from the specified address and returning the byte-swapped value read from that address.  <a href="#gab8c65f4b4f443280f23162edd174990c">More...</a><br /></td></tr>
<tr class="separator:gab8c65f4b4f443280f23162edd174990c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1ee2873e4af28accd786ae12bb5f6928"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpu__v2__3.html#ga1ee2873e4af28accd786ae12bb5f6928">XIo_OutSwap16</a> (<a class="el" href="group__cpu__v2__3.html#ga8c62ddb24cbd945c441e391677e5d248">XIo_Address</a> OutAddress, u16 Value)</td></tr>
<tr class="memdesc:ga1ee2873e4af28accd786ae12bb5f6928"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs an output operation for a 16-bit memory location by writing the specified value to the the specified address.  <a href="#ga1ee2873e4af28accd786ae12bb5f6928">More...</a><br /></td></tr>
<tr class="separator:ga1ee2873e4af28accd786ae12bb5f6928"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga971e6eea5339739e84896a9e9274eb4d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cpu__v2__3.html#ga971e6eea5339739e84896a9e9274eb4d">XIo_OutSwap32</a> (<a class="el" href="group__cpu__v2__3.html#ga8c62ddb24cbd945c441e391677e5d248">XIo_Address</a> OutAddress, u32 Value)</td></tr>
<tr class="memdesc:ga971e6eea5339739e84896a9e9274eb4d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs an output operation for a 32-bit memory location by writing the specified value to the the specified address.  <a href="#ga971e6eea5339739e84896a9e9274eb4d">More...</a><br /></td></tr>
<tr class="separator:ga971e6eea5339739e84896a9e9274eb4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga79f29757b31950b0f8c8cb9dd7be1955"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga79f29757b31950b0f8c8cb9dd7be1955">&#9670;&nbsp;</a></span>XIo_In16</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XIo_In16</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InputPtr</td><td>)</td>
          <td>&#160;&#160;&#160;(*(volatile u16 *)(InputPtr))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xio_8h.html">xio.h</a>&gt;</code></p>

<p>Performs an input operation for a 16-bit memory location by reading from the specified address and returning the value read from that address. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InputPtr</td><td>contains the address to perform the input operation at.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value read from the specified input address.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">Referenced by <a class="el" href="group__cpu__v2__3.html#ga42b463b78a9248d71f676c364ce2ec22">XIo_InSwap16()</a>.</p>

</div>
</div>
<a id="ga46edb278c632d89f08d686a80f8b058b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga46edb278c632d89f08d686a80f8b058b">&#9670;&nbsp;</a></span>XIo_In32</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XIo_In32</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InputPtr</td><td>)</td>
          <td>&#160;&#160;&#160;(*(volatile u32 *)(InputPtr))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xio_8h.html">xio.h</a>&gt;</code></p>

<p>Performs an input operation for a 32-bit memory location by reading from the specified address and returning the value read from that address. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InputPtr</td><td>contains the address to perform the input operation at.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value read from the specified input address.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">Referenced by <a class="el" href="group__cpu__v2__3.html#gab8c65f4b4f443280f23162edd174990c">XIo_InSwap32()</a>.</p>

</div>
</div>
<a id="ga77214ca9e86c3739ea38691f13e910e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga77214ca9e86c3739ea38691f13e910e1">&#9670;&nbsp;</a></span>XIo_In8</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XIo_In8</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InputPtr</td><td>)</td>
          <td>&#160;&#160;&#160;(*(volatile u8  *)(InputPtr))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xio_8h.html">xio.h</a>&gt;</code></p>

<p>Performs an input operation for an 8-bit memory location by reading from the specified address and returning the value read from that address. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InputPtr</td><td>contains the address to perform the input operation at.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value read from the specified input address.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="ga1547f1c4d29441aefad29fc0c34ae696"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1547f1c4d29441aefad29fc0c34ae696">&#9670;&nbsp;</a></span>XIo_Out16</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XIo_Out16</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">OutputPtr, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Value&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(*(volatile u16 *)((OutputPtr)) = (Value))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xio_8h.html">xio.h</a>&gt;</code></p>

<p>Performs an output operation for a 16-bit memory location by writing the specified value to the the specified address. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">OutputPtr</td><td>contains the address to perform the output operation at. </td></tr>
    <tr><td class="paramname">Value</td><td>contains the value to be output at the specified address.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">Referenced by <a class="el" href="group__cpu__v2__3.html#ga1ee2873e4af28accd786ae12bb5f6928">XIo_OutSwap16()</a>.</p>

</div>
</div>
<a id="gaeb79cdbd71863b04f9241d23ab0fe2b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaeb79cdbd71863b04f9241d23ab0fe2b5">&#9670;&nbsp;</a></span>XIo_Out32</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XIo_Out32</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">OutputPtr, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Value&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(*(volatile u32 *)((OutputPtr)) = (Value))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xio_8h.html">xio.h</a>&gt;</code></p>

<p>Performs an output operation for a 32-bit memory location by writing the specified value to the the specified address. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">OutputPtr</td><td>contains the address to perform the output operation at. </td></tr>
    <tr><td class="paramname">Value</td><td>contains the value to be output at the specified address.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">Referenced by <a class="el" href="group__cpu__v2__3.html#ga971e6eea5339739e84896a9e9274eb4d">XIo_OutSwap32()</a>.</p>

</div>
</div>
<a id="ga1b478c4241641392001630b7a9dfe00e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1b478c4241641392001630b7a9dfe00e">&#9670;&nbsp;</a></span>XIo_Out8</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XIo_Out8</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">OutputPtr, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Value&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(*(volatile u8  *)((OutputPtr)) = (Value))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xio_8h.html">xio.h</a>&gt;</code></p>

<p>Performs an output operation for an 8-bit memory location by writing the specified value to the the specified address. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">OutputPtr</td><td>contains the address to perform the output operation at. </td></tr>
    <tr><td class="paramname">Value</td><td>contains the value to be output at the specified address.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="ga8c62ddb24cbd945c441e391677e5d248"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8c62ddb24cbd945c441e391677e5d248">&#9670;&nbsp;</a></span>XIo_Address</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef u32 <a class="el" href="group__cpu__v2__3.html#ga8c62ddb24cbd945c441e391677e5d248">XIo_Address</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xio_8h.html">xio.h</a>&gt;</code></p>

<p>Typedef for an I/O address. </p>
<p>Typically correlates to the width of the address bus. </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga7c276f7853a003d8049c6adad4773ae2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7c276f7853a003d8049c6adad4773ae2">&#9670;&nbsp;</a></span>XIo_EndianSwap16()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XIo_EndianSwap16 </td>
          <td>(</td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16 *&#160;</td>
          <td class="paramname"><em>DestPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xio_8c.html">xio.c</a>&gt;</code></p>

<p>Performs a 16-bit endian converion. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Source</td><td>contains the value to be converted. </td></tr>
    <tr><td class="paramname">DestPtr</td><td>contains a pointer to the location to put the converted value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a id="ga83035e903e2b52fcbcb94cf918db8934"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga83035e903e2b52fcbcb94cf918db8934">&#9670;&nbsp;</a></span>XIo_EndianSwap32()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XIo_EndianSwap32 </td>
          <td>(</td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32 *&#160;</td>
          <td class="paramname"><em>DestPtr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xio_8c.html">xio.c</a>&gt;</code></p>

<p>Performs a 32-bit endian converion. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">Source</td><td>contains the value to be converted. </td></tr>
    <tr><td class="paramname">DestPtr</td><td>contains a pointer to the location to put the converted value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">Referenced by <a class="el" href="group__cpu__v2__3.html#gab8c65f4b4f443280f23162edd174990c">XIo_InSwap32()</a>, and <a class="el" href="group__cpu__v2__3.html#ga971e6eea5339739e84896a9e9274eb4d">XIo_OutSwap32()</a>.</p>

</div>
</div>
<a id="ga42b463b78a9248d71f676c364ce2ec22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga42b463b78a9248d71f676c364ce2ec22">&#9670;&nbsp;</a></span>XIo_InSwap16()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u16 XIo_InSwap16 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__cpu__v2__3.html#ga8c62ddb24cbd945c441e391677e5d248">XIo_Address</a>&#160;</td>
          <td class="paramname"><em>InAddress</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xio_8c.html">xio.c</a>&gt;</code></p>

<p>Performs an input operation for a 16-bit memory location by reading from the specified address and returning the byte-swapped value read from that address. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InAddress</td><td>contains the address to perform the input operation at.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The byte-swapped value read from the specified input address.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__cpu__v2__3.html#ga79f29757b31950b0f8c8cb9dd7be1955">XIo_In16</a>.</p>

</div>
</div>
<a id="gab8c65f4b4f443280f23162edd174990c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab8c65f4b4f443280f23162edd174990c">&#9670;&nbsp;</a></span>XIo_InSwap32()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XIo_InSwap32 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__cpu__v2__3.html#ga8c62ddb24cbd945c441e391677e5d248">XIo_Address</a>&#160;</td>
          <td class="paramname"><em>InAddress</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xio_8c.html">xio.c</a>&gt;</code></p>

<p>Performs an input operation for a 32-bit memory location by reading from the specified address and returning the byte-swapped value read from that address. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InAddress</td><td>contains the address to perform the input operation at.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The byte-swapped value read from the specified input address.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__cpu__v2__3.html#ga83035e903e2b52fcbcb94cf918db8934">XIo_EndianSwap32()</a>, and <a class="el" href="group__cpu__v2__3.html#ga46edb278c632d89f08d686a80f8b058b">XIo_In32</a>.</p>

</div>
</div>
<a id="ga1ee2873e4af28accd786ae12bb5f6928"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1ee2873e4af28accd786ae12bb5f6928">&#9670;&nbsp;</a></span>XIo_OutSwap16()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XIo_OutSwap16 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__cpu__v2__3.html#ga8c62ddb24cbd945c441e391677e5d248">XIo_Address</a>&#160;</td>
          <td class="paramname"><em>OutAddress</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>Value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xio_8c.html">xio.c</a>&gt;</code></p>

<p>Performs an output operation for a 16-bit memory location by writing the specified value to the the specified address. </p>
<p>The value is byte-swapped before being written.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">OutAddress</td><td>contains the address to perform the output operation at. </td></tr>
    <tr><td class="paramname">Value</td><td>contains the value to be output at the specified address.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__cpu__v2__3.html#ga1547f1c4d29441aefad29fc0c34ae696">XIo_Out16</a>.</p>

</div>
</div>
<a id="ga971e6eea5339739e84896a9e9274eb4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga971e6eea5339739e84896a9e9274eb4d">&#9670;&nbsp;</a></span>XIo_OutSwap32()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XIo_OutSwap32 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__cpu__v2__3.html#ga8c62ddb24cbd945c441e391677e5d248">XIo_Address</a>&#160;</td>
          <td class="paramname"><em>OutAddress</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><code>#include &lt;<a class="el" href="xio_8c.html">xio.c</a>&gt;</code></p>

<p>Performs an output operation for a 32-bit memory location by writing the specified value to the the specified address. </p>
<p>The value is byte-swapped before being written.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">OutAddress</td><td>contains the address at which the output operation has to be done. </td></tr>
    <tr><td class="paramname">Value</td><td>contains the value to be output at the specified address.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p class="reference">References <a class="el" href="group__cpu__v2__3.html#ga83035e903e2b52fcbcb94cf918db8934">XIo_EndianSwap32()</a>, and <a class="el" href="group__cpu__v2__3.html#gaeb79cdbd71863b04f9241d23ab0fe2b5">XIo_Out32</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
